package com.wx.service.conf;

import com.wx.service.util.LocalCache;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

@Configuration
public class WxServiceConfiguration {

  @Bean
  RestTemplate restTemplate() {
    return new RestTemplate();
  }

  @Bean
  LocalCache localCache() {
    return new LocalCache();
  }
}
